package com.bookstore.Domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;

/**
 * @author 未来
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("书籍借阅类")
@Component
public class Borrows {

    @TableId(type = IdType.AUTO)
    private int id;
    @ApiModelProperty("借阅人名")
    private String name;
    @ApiModelProperty("书名")
    private String bookName;
    @ApiModelProperty("书籍图片地址")
    private String bookImage;
    @ApiModelProperty("书记作者")
    private String bookAuthor;

}
